<?php

if(!$needSession){
  if($original_name != 'nothing'){
   header("Content-Type:text/javascript");
   require_once('js/'.$original_name.'.js');
  }
  else
   echo 'nothing';
}
else if($needSession){
  if($original_name != 'nothing' && $this->session->userdata('sirakunp_user_username') ){
   header("Content-Type:text/javascript");
   require_once('js/'.$original_name.'.js');
  }
  else
   echo 'nothing';
}
